package com.lecture.javamode.factory;

public class Test {
    public static void main(String[] args) {
        MyClass obj1 = new MyClass("type1", "value3", "value4", "value5");
        System.out.println(obj1.getParam1());
        MyClass obj2 = new MyClass("type2", "value3", "value4", "value5");
        System.out.println(obj2.getParam1());
    }
}
